'use strict';

const Service = require('egg').Service;

class HomeService extends Service {
    async types() {
        return await this.app.mysql.query('select * from typelist')
    }
}

module.exports = HomeService;
